<template>
  <div id="div1" @click="handleClicked">
    hello wrold
  </div>
</template>

<script>
export default {
  methods: {
    handleClicked () {
      debugger
      this.$emit('click')
    },
    clickItem () {
      console.log('process')
    }
  },
  created () {
    this.$on('click', this.clickItem)
  }
}
</script>
